package com.example.dmallOrder.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 所有数据库，mysql，MongoDB 等都在此扫描包
 * 配置dao层位置，可用, 写多个地址
 * 替代 @MapperScan(basePackages = "com.ngs.service.dao")
 */
@Configuration
@ComponentScan(basePackages = {
//        /* exception handle */
//        "com.ngs.base.common.exception",

        "com.example.dmallOrder.config",
        "cn.binarywang.wx.miniapp.api",
})
public class ComponentConfig {
}
